//
//  ARSameTabBarController.m
//  AriseSamePro
//
//  Created by 包日守 on 15/10/22.
//  Copyright © 2015年 Arise. All rights reserved.
//

#import "ARSameTabBarController.h"

@interface ARSameTabBarController ()

@end

@implementation ARSameTabBarController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    

    UITabBarItem *item = self.tabBar.items[0];
    item.selectedImage = [[UIImage imageNamed:@"icon1_select.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
    [item setImageInsets:UIEdgeInsetsMake(5, 0, -5, 0)];
    
    
    
    UITabBarItem *item1 = self.tabBar.items[1];
    item1.selectedImage = [[UIImage imageNamed:@"icon2_select.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
    [item1 setImageInsets:UIEdgeInsetsMake(5, 0, -5, 0)];
    UITabBarItem *item2 = self.tabBar.items[2];
    item2.selectedImage = [[UIImage imageNamed:@"icon3_select.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
    [item2 setImageInsets:UIEdgeInsetsMake(5, 0, -5, 0)];
    UITabBarItem *item3 = self.tabBar.items[3];
    item3.selectedImage = [[UIImage imageNamed:@"icon4_select.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
    [item3 setImageInsets:UIEdgeInsetsMake(5, 0, -5, 0)];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
